package com.colorlight.cloud.complete.entity.po;

import com.colorlight.cloud.gateway.api.message.constraint.basics.object.Trans;
import com.colorlight.iot.proto.complete.entity.CompleteEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class M2Info implements Trans<M2Info, CompleteEntity.M2Info> {

    /**
     * 型号
     */
    private String model;

    /**
     * 传感器数据
     */
    private List<SensorItem> sensorItem;

    /**
     * 继电器状态
     */
    private List<M2Relay> relay;

    /**
     * 自动继电器
     */
    private List<M2AutoRelay> autoRelay;
}

